package com.atguig.b_test;

public class Demo {//测试类
    //定义测试方法 : 必须void 必须无形参 方法名 : testXxxx


    public void testAdd(){
        int a = 10;
        int b = 20;

        System.out.println("a + b = " + (a + b));
    }


    @MyTest
    public void testSubtract(){
        int a = 10;
        int b = 20;

        System.out.println("a - b = " + (a - b));
    }
}
